package com.zc.trendsDispatch.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场站功率预测对象 charge_station_prediction
 *
 * @author glb
 * @date 2024-02-21
 */
public class ChargeStationPrediction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 场站编号 */
    @Excel(name = "场站编号")
    private String stationCode;

    /** 场站名称 */
    @Excel(name = "场站名称")
    private String stationName;

    /** 预测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date forecastDate;

    /** 预测值 */
    @Excel(name = "预测值")
    private String forecastValue;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStationCode(String stationCode)
    {
        this.stationCode = stationCode;
    }

    public String getStationCode()
    {
        return stationCode;
    }
    public void setForecastDate(Date forecastDate)
    {
        this.forecastDate = forecastDate;
    }

    public Date getForecastDate()
    {
        return forecastDate;
    }
    public void setForecastValue(String forecastValue)
    {
        this.forecastValue = forecastValue;
    }

    public String getForecastValue()
    {
        return forecastValue;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationCode", getStationCode())
            .append("stationName", getStationName())
            .append("forecastDate", getForecastDate())
            .append("forecastValue", getForecastValue())
            .toString();
    }
}
